package com.blb.day20231103hellostarter.service;

/**
 * 提供的Hello服务
 */
public class HelloService {

    private String name;

    private Long age;

    private String gender;

    public HelloService(String name, Long age, String gender) {
        this.name = name;
        this.age = age;
        this.gender = gender;
    }

    public void sayHello(){
        System.out.println("Hello!!!我叫：" + name +"，今年：" + age + "，性别为：" + gender);
    }
}
